Smartling\Helpers\ShortcodeHelper A

Total Complexity 54
Dependencies 11
Dependents 1
Total lines 438
Lines of code 280
Logical lines of code 143
Comment lines 73
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
extractTranslations()
S
49 5 34
uploadShortcodeHandler()
S
54 5 21
buildShortcodeAttributes()
S
56 5 17
hasShortcodes()
S
55 4 21
shortcodeApplierHandler()
S
61 4 11
getRegisteredShortcodes()
S
55 3 21
replaceShortcodeHandler()
S
63 3 11
processTranslation()
S
59 2 15
processString()
S
59 2 15
getMaskRegexp()
S
59 1 16
renderString()
S
72 2 6
restoreHandlers()
S
71 2 6
passPostDownloadFilters()
S
66 2 8
escapeValue()
S
71 2 6
buildShortcode()
S
63 1 12
getShortcodeAssignments()
S
77 1 4
__construct()
S
75 1 4
buildMaskedShortcode()
S
71 1 5
createShortcodeAttributeNode()
S
65 1 10
preUploadFiltering()
S
66 1 8
replaceHandlerForApplying()
S
80 1 3
unmask()
S
62 1 10
register()
S
74 1 4
setShortcodeAssignments()
S
77 1 4
resetInternalState()
S
77 1 4
replaceHandlerForMining()
S
76 1 4